Optimal. Leaf size=576 \[ -\frac{2 \sqrt{2} \sqrt{b^2-4 a c} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}} \left (a e^2-b d e+c d^2\right ) \left (-4 c e (4 b d-5 a e)-b^2 e^2+16 c^2 d^2\right ) \sqrt{\frac{c (d+e x)}{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}} \text{EllipticF}\left (\sin ^{-1}\left (\frac{\sqrt{\frac{\sqrt{b^2-4 a c}+b+2 c x}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right ),-\frac{2 e \sqrt{b^2-4 a c}}{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}\right )}{105 c^2 e^3 \sqrt{d+e x} \sqrt{a+b x+c x^2}}-\frac{2 \sqrt{d+e x} \sqrt{a+b x+c x^2} \left (-c e (11 b d-10 a e)+b^2 e^2-3 c e x (2 c d-b e)+8 c^2 d^2\right )}{105 c e^2}+\frac{2 \sqrt{2} \sqrt{b^2-4 a c} \sqrt{d+e x} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}} (2 c d-b e) \left (-4 c e (b d-2 a e)-b^2 e^2+4 c^2 d^2\right ) E\left (\sin ^{-1}\left (\frac{\sqrt{\frac{b+2 c x+\sqrt{b^2-4 a c}}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right )|-\frac{2 \sqrt{b^2-4 a c} e}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}\right )}{105 c^2 e^3 \sqrt{a+b x+c x^2} \sqrt{\frac{c (d+e x)}{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}}+\frac{4}{7} \sqrt{d+e x} \left (a+b x+c x^2\right )^{3/2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.791444, antiderivative size = 576, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {832, 814, 843, 718, 424, 419} \[ -\frac{2 \sqrt{d+e x} \sqrt{a+b x+c x^2} \left (-c e (11 b d-10 a e)+b^2 e^2-3 c e x (2 c d-b e)+8 c^2 d^2\right )}{105 c e^2}-\frac{2 \sqrt{2} \sqrt{b^2-4 a c} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}} \left (a e^2-b d e+c d^2\right ) \left (-4 c e (4 b d-5 a e)-b^2 e^2+16 c^2 d^2\right ) \sqrt{\frac{c (d+e x)}{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}} F\left (\sin ^{-1}\left (\frac{\sqrt{\frac{b+2 c x+\sqrt{b^2-4 a c}}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right )|-\frac{2 \sqrt{b^2-4 a c} e}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}\right )}{105 c^2 e^3 \sqrt{d+e x} \sqrt{a+b x+c x^2}}+\frac{2 \sqrt{2} \sqrt{b^2-4 a c} \sqrt{d+e x} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}} (2 c d-b e) \left (-4 c e (b d-2 a e)-b^2 e^2+4 c^2 d^2\right ) E\left (\sin ^{-1}\left (\frac{\sqrt{\frac{b+2 c x+\sqrt{b^2-4 a c}}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right )|-\frac{2 \sqrt{b^2-4 a c} e}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}\right )}{105 c^2 e^3 \sqrt{a+b x+c x^2} \sqrt{\frac{c (d+e x)}{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}}+\frac{4}{7} \sqrt{d+e x} \left (a+b x+c x^2\right )^{3/2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 832
Rule 814
Rule 843
Rule 718
Rule 424
Rule 419
Rubi steps
\begin{align*} \int (b+2 c x) \sqrt{d+e x} \sqrt{a+b x+c x^2} \, dx &=\frac{4}{7} \sqrt{d+e x} \left (a+b x+c x^2\right )^{3/2}+\frac{2 \int \frac{\left (\frac{1}{2} c (b d-2 a e)+\frac{1}{2} c (2 c d-b e) x\right ) \sqrt{a+b x+c x^2}}{\sqrt{d+e x}} \, dx}{7 c}\\ &=-\frac{2 \sqrt{d+e x} \left (8 c^2 d^2+b^2 e^2-c e (11 b d-10 a e)-3 c e (2 c d-b e) x\right ) \sqrt{a+b x+c x^2}}{105 c e^2}+\frac{4}{7} \sqrt{d+e x} \left (a+b x+c x^2\right )^{3/2}-\frac{4 \int \frac{\frac{1}{4} c \left (5 c e (b d-2 a e)^2-2 (2 c d-b e) \left (\frac{1}{2} b d (4 c d-b e)-a e \left (c d+\frac{b e}{2}\right )\right )\right )-\frac{1}{2} c (2 c d-b e) \left (4 c^2 d^2-b^2 e^2-4 c e (b d-2 a e)\right ) x}{\sqrt{d+e x} \sqrt{a+b x+c x^2}} \, dx}{105 c^2 e^2}\\ &=-\frac{2 \sqrt{d+e x} \left (8 c^2 d^2+b^2 e^2-c e (11 b d-10 a e)-3 c e (2 c d-b e) x\right ) \sqrt{a+b x+c x^2}}{105 c e^2}+\frac{4}{7} \sqrt{d+e x} \left (a+b x+c x^2\right )^{3/2}+\frac{\left (2 (2 c d-b e) \left (4 c^2 d^2-b^2 e^2-4 c e (b d-2 a e)\right )\right ) \int \frac{\sqrt{d+e x}}{\sqrt{a+b x+c x^2}} \, dx}{105 c e^3}-\frac{\left (4 \left (\frac{1}{2} c d (2 c d-b e) \left (4 c^2 d^2-b^2 e^2-4 c e (b d-2 a e)\right )+\frac{1}{4} c e \left (5 c e (b d-2 a e)^2-2 (2 c d-b e) \left (\frac{1}{2} b d (4 c d-b e)-a e \left (c d+\frac{b e}{2}\right )\right )\right )\right )\right ) \int \frac{1}{\sqrt{d+e x} \sqrt{a+b x+c x^2}} \, dx}{105 c^2 e^3}\\ &=-\frac{2 \sqrt{d+e x} \left (8 c^2 d^2+b^2 e^2-c e (11 b d-10 a e)-3 c e (2 c d-b e) x\right ) \sqrt{a+b x+c x^2}}{105 c e^2}+\frac{4}{7} \sqrt{d+e x} \left (a+b x+c x^2\right )^{3/2}+\frac{\left (2 \sqrt{2} \sqrt{b^2-4 a c} (2 c d-b e) \left (4 c^2 d^2-b^2 e^2-4 c e (b d-2 a e)\right ) \sqrt{d+e x} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \operatorname{Subst}\left (\int \frac{\sqrt{1+\frac{2 \sqrt{b^2-4 a c} e x^2}{2 c d-b e-\sqrt{b^2-4 a c} e}}}{\sqrt{1-x^2}} \, dx,x,\frac{\sqrt{\frac{b+\sqrt{b^2-4 a c}+2 c x}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right )}{105 c^2 e^3 \sqrt{\frac{c (d+e x)}{2 c d-b e-\sqrt{b^2-4 a c} e}} \sqrt{a+b x+c x^2}}-\frac{\left (8 \sqrt{2} \sqrt{b^2-4 a c} \left (\frac{1}{2} c d (2 c d-b e) \left (4 c^2 d^2-b^2 e^2-4 c e (b d-2 a e)\right )+\frac{1}{4} c e \left (5 c e (b d-2 a e)^2-2 (2 c d-b e) \left (\frac{1}{2} b d (4 c d-b e)-a e \left (c d+\frac{b e}{2}\right )\right )\right )\right ) \sqrt{\frac{c (d+e x)}{2 c d-b e-\sqrt{b^2-4 a c} e}} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1-x^2} \sqrt{1+\frac{2 \sqrt{b^2-4 a c} e x^2}{2 c d-b e-\sqrt{b^2-4 a c} e}}} \, dx,x,\frac{\sqrt{\frac{b+\sqrt{b^2-4 a c}+2 c x}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right )}{105 c^3 e^3 \sqrt{d+e x} \sqrt{a+b x+c x^2}}\\ &=-\frac{2 \sqrt{d+e x} \left (8 c^2 d^2+b^2 e^2-c e (11 b d-10 a e)-3 c e (2 c d-b e) x\right ) \sqrt{a+b x+c x^2}}{105 c e^2}+\frac{4}{7} \sqrt{d+e x} \left (a+b x+c x^2\right )^{3/2}+\frac{2 \sqrt{2} \sqrt{b^2-4 a c} (2 c d-b e) \left (4 c^2 d^2-b^2 e^2-4 c e (b d-2 a e)\right ) \sqrt{d+e x} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}} E\left (\sin ^{-1}\left (\frac{\sqrt{\frac{b+\sqrt{b^2-4 a c}+2 c x}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right )|-\frac{2 \sqrt{b^2-4 a c} e}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}\right )}{105 c^2 e^3 \sqrt{\frac{c (d+e x)}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}} \sqrt{a+b x+c x^2}}-\frac{2 \sqrt{2} \sqrt{b^2-4 a c} \left (c d^2-b d e+a e^2\right ) \left (16 c^2 d^2-16 b c d e-b^2 e^2+20 a c e^2\right ) \sqrt{\frac{c (d+e x)}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\sin ^{-1}\left (\frac{\sqrt{\frac{b+\sqrt{b^2-4 a c}+2 c x}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right )|-\frac{2 \sqrt{b^2-4 a c} e}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}\right )}{105 c^2 e^3 \sqrt{d+e x} \sqrt{a+b x+c x^2}}\\ \end{align*}
Mathematica [C] time = 13.0953, size = 5323, normalized size = 9.24 \[ \text{Result too large to show} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.119, size = 6516, normalized size = 11.3 \begin{align*} \text{output too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{c x^{2} + b x + a}{\left (2 \, c x + b\right )} \sqrt{e x + d}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\sqrt{c x^{2} + b x + a}{\left (2 \, c x + b\right )} \sqrt{e x + d}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (b + 2 c x\right ) \sqrt{d + e x} \sqrt{a + b x + c x^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]